home *** CD-ROM | disk | FTP | other *** search
- on uitvouwen3
- global horizontalmenu, plusjesteller, hoofdstuk, hoofdstukaantal, blokjeslijst, explorervertical
- plusjesteller = 0
- blokjeslijst = list()
- explorerverticaltmp = explorervertical
- repeat with tellertje = 32 to hoofdstukaantal + 31
- vraaghoofdstuk = hoofdstuk[tellertje - 31]
- lengtevraaghoofdstuk = length(vraaghoofdstuk)
- set the locV of sprite tellertje to explorerverticaltmp
- if sprite(tellertje).visibility = 1 then
- explorerverticaltmp = explorerverticaltmp + 14
- end if
- if (sprite(tellertje).locV < 470) or (sprite(tellertje).locV > 570) then
- sprite(tellertje).visibility = 0
- end if
- if sprite(tellertje).visibility = 1 then
- plusjesteller = plusjesteller + 1
- blokjeslijst[plusjesteller] = vraaghoofdstuk
- sprite(200 + plusjesteller).locV = sprite(tellertje).locV + 7
- sprite(200 + plusjesteller).locH = horizontalmenu + (10 * lengtevraaghoofdstuk)
- sprite(200 + plusjesteller).visibility = 1
- puppetSprite(200 + plusjesteller, 1)
- end if
- end repeat
- end
-